package com.hoshiicloud.market.service.market;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.market.entity.market.MarketingType;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * <p>
 * 活动类型 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-05-14
 */
public interface MarketingTypeService extends IService<MarketingType> {

    MarketingType getById(Long id);

    boolean save(MarketingType entity);

    boolean updateById(MarketingType entity);

    IPage<MarketingType> page(IPage<MarketingType> page, Wrapper<MarketingType> queryWrapper);

    boolean deleteById(MarketingType entity);
}
